/*
 * AppModule2.h
 *
 *  Created on: 11.12.2011
 *      Author: caiiiycuk
 */

#ifndef APPMODULE2_H_
#define APPMODULE2_H_

#include "ioc.h"

namespace Service {
class GreetingService;
}

namespace Log {
class Logger;
class STDLogger;
}

namespace Module {

class AppModule2 {
public:
	IOC<AppModule2> ioc;

	AppModule2(): ioc(this) {
	}

	BIND<Log::Logger, SINGLETON< Log::STDLogger > > getLogger();
	BIND<Service::GreetingService, SINGLETON< Service::GreetingService> >getGreetingService();

};

}


#endif /* APPMODULE2_H_ */
